package com.insider.dao;

import com.insider.domain.Note;

import java.sql.SQLException;
import java.util.List;

public interface NoteDao {

    public void save(Note user) throws SQLException;

    public Note findNote(Integer userId, String subject) throws SQLException;

    public void update(Note user) throws SQLException;

    public void delete(Note user) throws SQLException;

    public List<Note> findAll(Integer userId) throws SQLException;
}
